﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<Entity.Car_Rental.News>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
    Details
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <h2>
        新闻详细</h2>
    <fieldset>
         <div class="display-label">
            标题</div>
        <div class="display-field">
            <%: Model.Title %></div>
        <div class="display-label">
            内容介绍</div>
        <div class="display-field">
            <%: Model.InfoSummary %></div>
        <div class="display-label">
            内容详细</div>
        <div class="display-field">
            <%: Model.Info %></div>
        <div class="display-label">
            状态</div>
        <div class="display-field">
            <%: ((Entity.CommonEnums.Status)Model.Status).GetDescription() %></div>
        <div class="display-label">
            建立日期</div>
        <div class="display-field">
            <%: String.Format("{0:g}", Model.CreateDate) %></div>
        <div class="display-label">
            更新日期</div>
        <div class="display-field">
            <%: String.Format("{0:g}", Model.UpdateDate) %></div>
        <div class="display-label">
            显示日期</div>
        <div class="display-field">
            <%: String.Format("{0:g}", Model.DisplayDate) %></div>
    </fieldset>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="ScriptContent" runat="server">
</asp:Content>
